<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/include/page.jsp"%>
<h2 class="contentTitle">更新出资方</h2>


<div class="pageContent">
	<form method="post" action="${rootpath }/back/investor/investorUpdateSubmit.htm" class="pageForm required-validate" onsubmit="return validateCallback(this)">
		<input type="hidden" name="id" value="${requestScope.investor.id }"/>
		<div class="pageFormContent nowrap" layoutH="97">
			<dl>
				<dt>编码：</dt>
				<dd>
					<input type="text" name="code" class="required" alt="请输入您的编码" value="${requestScope.investor.code }"/>
					<span class="info"></span>
				</dd>
			</dl>
			<dl>
				<dt>名称：</dt>
				<dd>
					<input type="text" name="name" class="required " alt="请输入您的名称" value="${requestScope.investor.name }"/>
					<span class="info"></span>
				</dd>
			</dl>
			
			<dl>
				<dt>url：</dt>
				<dd>
					<input id="adminsInsertPassword" type="text" name="url" class="required alphanumeric" alt="请输入您的网址" value="${requestScope.investor.url }"/>
					<span class="info"></span>
				</dd>
			</dl>
			<dl>
				<dt>联系人姓名：</dt>
				<dd>
					<input type="text" name="contactName" class="required" alt="请输入联系人姓名" value="${requestScope.investor.contactName }"/>
					<span class="info"></span>
				</dd>
			</dl>
			<dl>
				<dt>联系人电话：</dt>
				<dd>
					<input type="text" name="contactPhone" class="required " alt="请输入联系人电话" value="${requestScope.investor.contactPhone }"/>
					<span class="info"></span>
				</dd>
			</dl>
			<dl>
				<dt>发布时间：</dt>
				<dd>
				
					<input type="text" name="pubTime"  alt="请输入您的发布时间" readonly="readonly" datefmt="yyyy-MM-dd HH:mm:ss" class="date"
					value='<fmt:formatDate value="${requestScope.investor.pubTime }" pattern="yyyy-MM-dd HH:mm:ss"/>'/>
					<span class="info"></span>用来排序
				</dd>
			</dl>
			<dl>
				<dt>logo：</dt>
				<dd>
					<input type="file" name="file" />
					<span class="info"></span>请上传jpg,pmg图片文件
				</dd>
			</dl>
			<dl>
				<dt>类型：</dt>
				<dd>
					<input type="radio" id="coopType1InvestorInsert" name="coopType" value="1" ${requestScope.investor.coopType=='0'?'checked':'' }/>
					<label class="label_none" for="coopType1InvestorInsert">直通</label>
					<input type="radio" id="coopType0InvestorInsert" name="coopType" value="0"  ${requestScope.investor.coopType=='1'?'checked':'' }/>
					<label class="label_none" for="coopType0InvestorInsert">非直通</label>
				</dd>
			</dl>
			<dl>
				<dt>状态：</dt>
				<dd>
					<input type="radio" id="status1InvestorInsert" name="status" value="1" checked="checked"/>
					<label class="label_none" for="status1InvestorInsert">启用</label>
					<input type="radio" id="status0InvestorInsert" name="status" value="0" />
					<label class="label_none" for="status0InvestorInsert">禁用</label>
				</dd>
			</dl>
			<dl>
				<dt>内容：</dt>
					<dd>
						<textarea class="editor" name="description" rows="8" cols="100"
						upLinkUrl="upload.php" upLinkExt="zip,rar,txt" 
						upImgUrl="upload.php" upImgExt="jpg,jpeg,gif,png" 
						upFlashUrl="upload.php" upFlashExt="swf"
						upMediaUrl="upload.php" upMediaExt:"avi">${requestScope.investor.content }</textarea>
					</dd>
			</dl>
			<dl>
				<dt>创建时间：</dt>
				<dd>
					<fmt:formatDate value="${requestScope.investor.createTime }" pattern="yyyy-MM-dd HH:mm:ss"/>
					
				</dd>
			</dl>
			<dl>
				<dt>更新时间：</dt>
				<dd>
					<fmt:formatDate value="${requestScope.investor.createTime }" pattern="yyyy-MM-dd HH:mm:ss"/>
					
				</dd>
			</dl>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
	
</div>
<div></div>


<script type="text/javascript">
function customvalidXxx(element){
	if ($(element).val() == "xxx") return false;
	return true;
}
</script>
